<!DOCTYPE html>
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
<head>
<title>品牌通用信息管理</title>
</head>
<body>
<div layout:fragment="content">
	<div class="row">
		<div class="table-toolbar col-md-12">
				<div class="btn-group pull-right">
					<a href="edit.html" id="link_add" th:href="@{/goods/brandgeneralinfo/add}" class="btn green">添加品牌通用信息<i class="fa fa-plus"></i></a>
				</div>
				<div class="col-md-6 col-sm-12">
					 <form th:action="@{/goods/brandgeneralinfo/index}" method="post" >	
							<div class="dataTables_filter" id="sample_1_filter">
								<label>搜索: <input type="text" id="text_brandName" name="brandName" placeholder="品牌名称" th:attr="value=${brandName}" aria-controls="sample_1" class="form-control input-medium input-inline"/></label>
								<button type="submit" id="bt_submit" class="btn green"><i class="fa  fa-search"></i></button>
								<input  type="checkbox" id="checkbox_isUnexpired" name="isUnexpired" value="show" th:attr="checked=${isUnexpired == show ? checked : ''}" aria-controls="sample_1" class="form-control input-medium input-inline"/>显示过期
							</div>
					 </form>		
			   </div>		 
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div th:include="goods/brand/generalinfo/generalinfo_table">
		
			</div>
		</div>
	</div>
</div>	
</body>
</html>
<script th:inline="javascript">
/*<![CDATA[*/
	$("#checkbox_isUnexpired").click(function(){
		document.forms[0].submit();
	});
/*]]>*/
</script>